package org.devf.fork.imsimulator.model;

/**
 * HttpConstant related
 *
 * @author wanghuafu
 * @since 1.0  2023/9/12 17:42
 */
public class HttpConstant {

    public static class Protocol{
        public final static String HTTP="http://";
        public final static String HTTPS="https://";
    }

    public static class Host{
        public static String serverHost = "114.132.231.168";
//        public static String serverHost = "127.0.0.1";
        public final static String httpPort = "8081";
        public final static String socketPort = "9900";


    }

    public static class ReqMethod{
        public final static String POST = "POST";
        public final static String GET = "GET";
    }


    public static class WebUrl{

        public final static String ROOT_PATH = HttpConstant.Protocol.HTTP + HttpConstant.Host.serverHost + ":" + HttpConstant.Host.httpPort + "/fork-im";
        public final static String LOGIN_PATH = "/login";
        public final static String GET_USER = "/user/getUserInfo";
        public final static String CHAT_IMAGE_POST = "/chatImage/send";
    }



}
